package soundsystem.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import soundsystem.CompactDisc;

import java.util.List;

/**
 * Created by Sean.Y.Du on 2017/8/24.
 */
@Setter
public class BlankDisc implements CompactDisc {
    private String title;

    private String artist;

    private List<String> tracks;


    @Override
    public void play() {
        System.out.println("Playing " + title + " by " + artist);
        for (String track : tracks) {
            System.out.println("-Track: " + track);
        }
    }
}
